package com.ddm.whitoutpaper.vendas;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ArrayAdapter;
import android.widget.ListView;

import com.ddm.withoutpaper.R;

public class GerarContratoActivity extends Activity implements OnItemClickListener {

	private ListView listGerarContrato;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_gerar_contrato);
		
		listGerarContrato = (ListView) findViewById(R.id.listGerarContrato);
		
		String[] itens = {"Cadastrar Cliente", "Enviar Contrato"};
		
		ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,
				android.R.layout.simple_list_item_1, itens);
		
		listGerarContrato.setAdapter(adapter);
		listGerarContrato.setOnItemClickListener(this);
		
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.gerar_contrato, menu);
		return true;
	}

	@Override
	public void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) {
		// TODO Auto-generated method stub
		
	}

}
